package com.atguigu.entity;

public class Person {
    private String name;
    private int age;
    private int sex;
    private static int aaa;
    private final int bb=0;

    private byte[] memory=new byte[1024*1024*5];

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public static void main(String[] args) {
        Person person = new Person();
//        person.show(0);
        OtherClass.getPersonInfo(person);
        OtherClass.getPersonInfo(person);
        OtherClass.getPersonInfo(person);
        OtherClass.getPersonInfo(person);
    }

    public void show(int a){
        a++;
        show(a);
    }
}
